383898da6bbe89409da643f3f3242d6c446338d8,orcid-integration-test/src/test/java/org/orcid/integration/blackbox/api/v2/rc2/MemberV2Test.java,MemberV2Test,before,#,83

Before Change


    @Before
    public void before() throws JSONException, InterruptedException, URISyntaxException {
        cleanActivities();  
        groupRecords = createGroupIds();
        
        // Remove remaining works using UI, because clients aren't allowed to
        // delete works that they are not the source of.

After Change


    
    @Before
    public void before() throws JSONException, InterruptedException, URISyntaxException {
        if(allSet) {
            return;
        }
        showMyOrcidPage();
        createGroupIds();
        allSet = true;
    }